package zs.com.wework;

import org.openqa.selenium.By;
import org.openqa.selenium.WebDriver;

/**
 * ClassName:MainPage
 * Package:zs.com.wework
 * Description:首页 主页
 * Date:2021/11/24 20:48
 * Author:zs
 */
public class MainPage extends BasePage{
    public MainPage(WebDriver driver) {
        super(driver);
    }

    //跳转到通讯录
    public ContactPage toContact() {
        driver.findElement(By.id("menu_contacts")).click();
        return new ContactPage(driver);
    }
}
